package org.bonorsoft.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@TableName("user_audit")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserAudit {
    private static final long serialVersionUID = 1L;

    /**主键id*/
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;
    /**登录账号*/
    private String username;
    /**真实姓名*/
    private String realname;
    /**密码*/
    private String password;
    /**性别*/
    private Integer sex;
    /**手机号*/
    private String phone;
    /**身份证号*/
    private String remark;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date createTime;
}
